<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript">
        var s="需求确认https://trello.com/c/8RBO5v8j/121212121";
        var index=s.indexOf("https");
        var s1=s.substr(0,index);
        var s2=s.substr(index);
        console.log(s1);
        console.log(s2);
    </script>
</head>
<body>

</body>
</html>